package com.atguigu.blog.mapper;

import com.atguigu.blog.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ArticleMapper {
    List<Article> selectAll(Article article);
    Article selectAllById(Integer id);
    List<Article> selectAllByUid(Integer uid);
    Integer insert(Article article);
    Integer delete(Integer id);
    Integer update(Article article);
;}
